using System;
using System.Data;

namespace WP.MF.DataEntity
{
	/// <summary>
	/// Summary description for MFieldValueDict.
	/// </summary>
	[System.ComponentModel.DesignerCategory("Code")]
	public class MFieldValueDictDEL:DataSet
	{
      public const string TABLENAME_MFIELDVALUEDICT="mFieldValueDict";
      public const string RECID="RecID";
      public const string TABLENAME="TableName";
      public const string FIELDNAME="FieldName";
      public const string FIELDVALUE="FieldValue";
      public const string FIELDDESC="FieldDesc";
      public const string ORDERBYVALUE="OrderByValue";
      public const string RECSTAMP="RecStamp";
      private System.Collections.Specialized.NameValueCollection mVarCollection = new System.Collections.Specialized.NameValueCollection();
      public System.Collections.Specialized.NameValueCollection VarCollection
      {
          get { return mVarCollection; }
          set { mVarCollection = value; }
      }

		public MFieldValueDictDEL()
		{
         CreatemFieldValueDict();
		}

      private void CreatemFieldValueDict()
      {
         DataTable table;
         DataColumnCollection DCC;
         DataColumn DC=new DataColumn();
         table=new DataTable (TABLENAME_MFIELDVALUEDICT);
         DCC=table.Columns;

         DC=new DataColumn(RECID,typeof(System.String));
         DCC.Add(DC);

         DC=new DataColumn(TABLENAME,typeof(System.String));
         DCC.Add(DC);

         DC=new DataColumn(FIELDNAME,typeof(System.String));
         DCC.Add(DC);

         DC=new DataColumn(FIELDVALUE,typeof(System.String));
         DCC.Add(DC);

         DC=new DataColumn(FIELDDESC,typeof(System.String));
         DCC.Add(DC);

         DC=new DataColumn(ORDERBYVALUE,typeof(System.String));
         DCC.Add(DC);

         DC=new DataColumn(RECSTAMP,typeof(System.Type[]));
         DCC.Add(DC);

         this.Tables.Add (table);
      }

	}
}
